<div class="page-content-fluid">
    <div class="row">
        <div class="col-md-12">
            <div class="portlet light">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="fa fa-gift"></i>备案单位
                    </div>
                </div>
                <div class="portlet-body form">
                    <div class="col-md-6 text-left">
                        <button class="btn btn-success" ng-click="recordUint.create()">新增</button>
                        <button class="btn btn-success" ng-click="recordUint.edit()">编辑</button>
                        <button class="btn btn-success" ng-click="recordUint.change()">变更</button>

                        <div class="btn-group open" ng-mouseenter="vm.exportNum = 2"  ng-mouseleave="vm.exportNum = 1">
                            <button class="btn btn-default btn-success" type="button"  >导出<span class="caret"></span></button>
                            <ul class="dropdown-menu" style="margin-top: 0px" ng-if="vm.exportNum == 2">
                                <li><a href="##">导出EXCEL</a></li>
                                <li><a href="##">导出备案表</a></li>
                            </ul>
                        </div>
                        <div class="btn-group open"  ng-mouseenter="vm.detailNum = 2" ng-mouseleave="vm.detailNum = 1">
                            <button class="btn btn-default btn-success"  type="button">查看<span class="caret"></span></button>
                            <ul class="dropdown-menu" ng-if="vm.detailNum == 2" style="margin-top: 0px">
                                <li><a href="##" ng-click="recordUint.detail()">单位信息</a></li>
                                <li><a href="##" ng-click="recordUint.systemInfo()">系统信息</a></li>
                                <li><a href="##">网站信息</a></li>
                                <li><a href="##" ng-click="recordUint.auditsRecord()">审核记录</a></li>
                                <li><a href="##" ng-click="recordUint.changeRecords()">变更记录</a></li>
                            </ul>
                        </div>
                        <div class="btn-group open" ng-mouseenter="vm.moreNum = 2" ng-mouseleave="vm.moreNum = 1">
                            <button class="btn btn-default btn-success" type="button" >更多<span class="caret"></span></button>
                            <ul class="dropdown-menu" ng-if="vm.moreNum == 2" style="margin-top: 0px">
                                <li><a href="##">迁移</a></li>
                                <li><a href="##">注销</a></li>
                                <li><a href="##">删除</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-md-6 text-right">
                        <form class="form-horizontal" role="form">
                            <div class="form-body" style="padding: 0px;">
                                <div class="form-group" style="margin-bottom: 0px;">
                                    <button ng-click="toggleFiltering()" class="btn btn-circle blue">查询</button>
                                    <button ng-click="toggleFiltering()" class="btn btn-circle blue">高级</button>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="col-md-12 no-padding-left-right">
                        <div class="grid margin-top-15" ui-grid="recordUint.gridOptions" ui-grid-pagination ui-grid-resize-columns ui-grid-selection ui-grid-exporter ui-grid-move-columns ui-grid-empty-base-layer></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/ng-template" id="detail.html">
    <div ng-include="'app/module/business/record/unit/detail/unit/view.html'"></div>
</script>
<script type="text/ng-template" id="create.html">
    <div ng-include="'app/module/business/record/unit/create/view.html'"></div>
</script>
<script type="text/ng-template" id="edit.html">
    <div ng-include="'app/module/business/record/unit/update/view.html'"></div>
</script>
<script type="text/ng-template" id="change.html">
    <div ng-include="'app/module/business/record/unit/alter/view.html'"></div>
</script>
<script type="text/ng-template" id="changeRecord.html">
    <div ng-include="'app/module/business/record/unit/detail/alter/view.html'"></div>
</script>
<script type="text/ng-template" id="auditsRecord.html">
    <div ng-include="'app/module/business/record/unit/detail/audit/view.html'"></div>
</script>
<script type="text/ng-template" id="systemInfo.html">
    <div ng-include="'app/module/business/record/unit/detail/system/view.html'"></div>
</script>